Search results
1348 packages found
Easily handle defaults for your options
The "testDiff" deep diff/test function from Differentia.js, ported to TypeScript. Returns true if input 1 differs in any way from input 2. Performs deep object search by default, works OK with circular references.
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.
- array
- browser
- cycle
- deno
- deno-edition
- deno-entry
- denoland
- each
- es2022
- es5
- export-default
- flow
- forEach
- map
- View more
Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it
- array
- browser
- comparator
- deep
- deeply
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- export-default
- keys
- module
- node
- View more
A function to assign default values to undefined values in an object
Gets the value at `path` of `object` (with an optional `default`)
Normalize different variable value types - e.g. `"1"` becomes `1`
- browser
- deep
- deeply
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- export-default
- module
- node
- normal
- normalise
- normalize
- View more
Effortlessly convert your JSON Object to JSON Schema, Mongoose Schema, or a Generic template for quick documentation / upstart.
- json
- schema
- object
- convert
- manipulate
- traverse
- types
- type
- is
- generate
- produce
- mongoose
- generic
- validation
- View more
Frequent default values
A lightweight JavaScript event emitter.
Specify how the object kyes should be exported
Wrap and validate optional values
Minimalist deep merging of Objects with the same function signature as Object.assign()
Validate and replace your default configuration options with ease
Read yaml file with environment variables substitution
A package that contains a collection of useful tools.
- defaultsbotdevelopment
- dbd-tools
- dbdtools
- dbd
- tools
- discord
- discord.js
- discordjs
- utility
- utilities
- util
- array
- cache
- convert
- View more
RapidOM schema validator
- rapid
- object
- model
- rapidom
- javascript
- typescript
- schema
- validation
- default
- required
- array
- min
- max
- length
- View more
Like `extend` but only copies missing properties/values to the target object.
A one-liner to get a nested prop using dot-notation with a optional default value as fallback
Consumes a defaults object with booleans, generates all possible variations of it